package com.itheima.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "sound")
public class Sound implements Serializable
{

    ObjectId id;//主键ID。录音的ID
    Long userId;//录音者的id
    String soundUrl;//录音的URl
    String gender;//性别


}
